<div class="box-body">
        <div class="row">
            <?php foreach($recommendList as $recommend):?>
            <div class="col-3">
                <div class="box funds">
                    <div class="box-header">{$recommend.fundType}</div>
                    <div class="box-body">
                        <div class="funds-header">
                          <span style="width: 60%;display: inline-block;  white-space: nowrap;overflow: hidden;text-overflow: ellipsis;vertical-align: middle;">
                            {$recommend.title}</span>
                            <font style="display:inline-block;vertical-align: middle;">({$recommend.securityCode})</font>
                          </div>
                        <?php if($recommend['fundType']=='货币型'):?>
                        <div class="funds-body">
                            <span>{$recommend.dailyProfit|number_format=###,2}<font>元</font></span>
                            <span>万份收益</span>
                        </div>
                        <div class="funds-footer">
                            <span><label>七日年化收益率：</label>
                                <label>
                                    {$recommend.latestWeeklyYield}%
                                </label>
                            </span>
<!--                            <span><label>六个月涨幅：</label>
                                <label>
                                    {$recommend._earnings.rrinsixmonth|number_format=###,2}%
                                </label>
                            </span>-->
                        </div>
                        <?php else:?>
                         <div class="funds-body">
                            <span>{$recommend.unitNV|number_format=###,2}<font>元</font></span>
                            <span>净值</span>
                        </div>
                        <div class="funds-footer">
                            <span><label>累计净值：</label>
                                <label>
                                    {$recommend.aunitNV|number_format=###,2}
                                </label>
                            </span>
<!--                            <span><label>日涨幅：</label>
                                <label>
                                    {$recommend.dailyGrowth|number_format=###,2}%
                                </label>
                            </span>-->
                        </div>
                        <?php endif;?>
                    </div>
                    <div class="box-footer">
                        <a href="{:U('/fund_'.$recommend['code'])}" class="button button-default">详情</a>
                    </div>
                </div>
            </div>
            <?php endforeach;?>
        </div>
    </div>
